package com.ruoyi.project.anquan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 隐患对象 security_yh
 * 
 * @author ruoyi
 * @date 2020-05-13
 */
public class SecurityYh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long yhId;

    /** 责任部门 */
    @Excel(name = "责任部门")
    private String yhApartment;

    /** 隐患等级( 1A级重大隐患  2B级隐患  3C级隐患  4一级隐患) */
    @Excel(name = "隐患等级( 1A级重大隐患  2B级隐患  3C级隐患  4一级隐患)")
    private Integer yhLevel;

    /** 隐患类型( 1事故隐患  2重大事故隐患  3轻微隐患) */
    @Excel(name = "隐患类型( 1事故隐患  2重大事故隐患  3轻微隐患)")
    private Integer yhType;

    /** 隐患状态( 1待整改  2整改中  3已闭环 4待复查) */
    @Excel(name = "隐患状态( 1待整改  2整改中  3已闭环 4待复查)")
    private Integer yhStatus;

    /** 隐患整改类型（1立即整改  2限期整改 3上报上级） */
    @Excel(name = "隐患整改类型", readConverterExp = "1=立即整改,2=限期整改,3=上报上级")
    private Integer yhEditType;

    /** 隐患整改情况 */
    @Excel(name = "隐患整改情况")
    private String yhEditSituation;

    /** 整改人 */
    @Excel(name = "整改人")
    private String yhEditMan;

    /** 责任人 */
    @Excel(name = "责任人")
    private String yhMan;

    /** 所属风险点 */
    @Excel(name = "所属风险点")
    private String yhRiskPoint;

    /** 隐患上报 */
    @Excel(name = "隐患上报")
    private String yhReport;

    /** 附件 */
    @Excel(name = "附件")
    private String yhEnclosure;

    /** 整改措施 */
    @Excel(name = "整改措施")
    private String yhEditMeasures;

    /** 整改要求 */
    @Excel(name = "整改要求")
    private String yhEditAsk;

    /** 整改限期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改限期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yhEditDate;

    /** 隐患发现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "隐患发现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yhCreateTime;

    /** 隐患描述 */
    @Excel(name = "隐患描述")
    private String yhRepresent;

    /** 整改附件 */
    @Excel(name = "整改附件")
    private String yhEditEnclosure;

    /** 复查人 */
    @Excel(name = "复查人")
    private String yhCheckMan;

    /** 复查期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "复查期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yhCheckDate;

    /** $column.columnComment */
    @Excel(name = "隐患来源")
    private String yhSource;

    /** $column.columnComment */
    @Excel(name = "复查期限")
    private String other1;

    /** $column.columnComment */
    @Excel(name = "复查期限")
    private String other2;

    /** $column.columnComment */
    @Excel(name = "复查期限")
    private String other3;

    /** $column.columnComment */
    @Excel(name = "复查期限")
    private String other4;

    /** $column.columnComment */
    @Excel(name = "复查期限")
    private String other5;
    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	private String name;
    private String value;
    public void setYhId(Long yhId) 
    {
        this.yhId = yhId;
    }

    public Long getYhId() 
    {
        return yhId;
    }
    public void setYhApartment(String yhApartment) 
    {
        this.yhApartment = yhApartment;
    }

    public String getYhApartment() 
    {
        return yhApartment;
    }
    public void setYhLevel(Integer yhLevel) 
    {
        this.yhLevel = yhLevel;
    }

    public Integer getYhLevel() 
    {
        return yhLevel;
    }
    public void setYhType(Integer yhType) 
    {
        this.yhType = yhType;
    }

    public Integer getYhType() 
    {
        return yhType;
    }
    public void setYhStatus(Integer yhStatus) 
    {
        this.yhStatus = yhStatus;
    }

    public Integer getYhStatus() 
    {
        return yhStatus;
    }
    public void setYhEditType(Integer yhEditType) 
    {
        this.yhEditType = yhEditType;
    }

    public Integer getYhEditType() 
    {
        return yhEditType;
    }
    public void setYhEditSituation(String yhEditSituation) 
    {
        this.yhEditSituation = yhEditSituation;
    }

    public String getYhEditSituation() 
    {
        return yhEditSituation;
    }
    public void setYhEditMan(String yhEditMan) 
    {
        this.yhEditMan = yhEditMan;
    }

    public String getYhEditMan() 
    {
        return yhEditMan;
    }
    public void setYhMan(String yhMan) 
    {
        this.yhMan = yhMan;
    }

    public String getYhMan() 
    {
        return yhMan;
    }
    public void setYhRiskPoint(String yhRiskPoint) 
    {
        this.yhRiskPoint = yhRiskPoint;
    }

    public String getYhRiskPoint() 
    {
        return yhRiskPoint;
    }
    public void setYhReport(String yhReport) 
    {
        this.yhReport = yhReport;
    }

    public String getYhReport() 
    {
        return yhReport;
    }
    public void setYhEnclosure(String yhEnclosure) 
    {
        this.yhEnclosure = yhEnclosure;
    }

    public String getYhEnclosure() 
    {
        return yhEnclosure;
    }
    public void setYhEditMeasures(String yhEditMeasures) 
    {
        this.yhEditMeasures = yhEditMeasures;
    }

    public String getYhEditMeasures() 
    {
        return yhEditMeasures;
    }
    public void setYhEditAsk(String yhEditAsk) 
    {
        this.yhEditAsk = yhEditAsk;
    }

    public String getYhEditAsk() 
    {
        return yhEditAsk;
    }
    public void setYhEditDate(Date yhEditDate) 
    {
        this.yhEditDate = yhEditDate;
    }

    public Date getYhEditDate() 
    {
        return yhEditDate;
    }
    public void setYhCreateTime(Date yhCreateTime) 
    {
        this.yhCreateTime = yhCreateTime;
    }

    public Date getYhCreateTime() 
    {
        return yhCreateTime;
    }
    public void setYhRepresent(String yhRepresent) 
    {
        this.yhRepresent = yhRepresent;
    }

    public String getYhRepresent() 
    {
        return yhRepresent;
    }
    public void setYhEditEnclosure(String yhEditEnclosure) 
    {
        this.yhEditEnclosure = yhEditEnclosure;
    }

    public String getYhEditEnclosure() 
    {
        return yhEditEnclosure;
    }
    public void setYhCheckMan(String yhCheckMan) 
    {
        this.yhCheckMan = yhCheckMan;
    }

    public String getYhCheckMan() 
    {
        return yhCheckMan;
    }
    public void setYhCheckDate(Date yhCheckDate) 
    {
        this.yhCheckDate = yhCheckDate;
    }

    public Date getYhCheckDate() 
    {
        return yhCheckDate;
    }
    public void setYhSource(String yhSource) 
    {
        this.yhSource = yhSource;
    }

    public String getYhSource() 
    {
        return yhSource;
    }
    public void setOther1(String other1) 
    {
        this.other1 = other1;
    }

    public String getOther1() 
    {
        return other1;
    }
    public void setOther2(String other2) 
    {
        this.other2 = other2;
    }

    public String getOther2() 
    {
        return other2;
    }
    public void setOther3(String other3) 
    {
        this.other3 = other3;
    }

    public String getOther3() 
    {
        return other3;
    }
    public void setOther4(String other4) 
    {
        this.other4 = other4;
    }

    public String getOther4() 
    {
        return other4;
    }
    public void setOther5(String other5) 
    {
        this.other5 = other5;
    }

    public String getOther5() 
    {
        return other5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("yhId", getYhId())
            .append("yhApartment", getYhApartment())
            .append("yhLevel", getYhLevel())
            .append("yhType", getYhType())
            .append("yhStatus", getYhStatus())
            .append("yhEditType", getYhEditType())
            .append("yhEditSituation", getYhEditSituation())
            .append("yhEditMan", getYhEditMan())
            .append("yhMan", getYhMan())
            .append("yhRiskPoint", getYhRiskPoint())
            .append("yhReport", getYhReport())
            .append("yhEnclosure", getYhEnclosure())
            .append("yhEditMeasures", getYhEditMeasures())
            .append("yhEditAsk", getYhEditAsk())
            .append("yhEditDate", getYhEditDate())
            .append("yhCreateTime", getYhCreateTime())
            .append("yhRepresent", getYhRepresent())
            .append("yhEditEnclosure", getYhEditEnclosure())
            .append("yhCheckMan", getYhCheckMan())
            .append("yhCheckDate", getYhCheckDate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("yhSource", getYhSource())
            .append("other1", getOther1())
            .append("other2", getOther2())
            .append("other3", getOther3())
            .append("other4", getOther4())
            .append("other5", getOther5())
            .toString();
    }
}
